hard derivative problem